<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    var a = ['a','b'];

    console.log(a);
    console.log(a.push('cc'));
    console.log(a);
</script>
</body>
</html>